package com.wg.dao;

import com.wg.pojo.User;

import java.util.List;

/**
 * @author Mrwg
 * @date 2020/3/26 17:55
 * @description
 */
public interface IUserDao {
    //查询所有用户
    public List<User> findAll() throws Exception;

    //根据条件进行用户查询
    public User findByCondition(User user) throws Exception;

    //add
    public  void insertUser(User user);
    //update
    public  void updateUser(User user);
    //del
    public  void deleUser(User user);
}
